﻿@model smp.ButterflyCakes.Models.ViewModels.Order.EditView

@{
    ViewBag.Title = "New Order";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<div class="container-fluid">
    <div class="row-fluid">
        <ul class="breadcrumb">
            <li><a href="@Url.Action("index", "Home")">Home</a><span class="divider">/</span></li>
            <li class="active">New Order</li>
        </ul>
    </div>
    @Html.HiddenFor(x => x.Id);
    <div class="row-fluid">
        <div class="navbar">
            <div class="navbar-inner">
                <div class="container">
                    <ul class="nav">
                        <li class="active createorder"><a id="orderstagename" class="brand" href="@Url.Action("Edit", "Order", new {Model.Id})">New Order</a>
                        </li>
                        <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Jump to stage
                                                 <b class="caret"></b></a>
                            <ul id="editdropmenucontainer" class="dropdown-menu">
                            </ul>
                        </li>
                        <li><a id="addcomponent" href="#">Add a Cake</a></li>
                        <li><a id="viewImages" href="@Url.Action("AddFiles", "Attachment", new {id = Model.Id})">Add Images & Files</a></li>
                        <li><a id="viewImages" href="@Url.Action("CarvingEstimate", "Order", new {id = Model.Id})">Test Image Thing</a></li>
                        <li><a id="navsave" href="#">Save</a></li>
                        <li id="navcancelli" class="hide"><a id="navcancel" href="#">Cancel</a></li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
    <div class="row-fluid">
        <div class="span3">
            <div class="row-fluid" id="editmenucontainer"></div>
        </div>
        <div class="span9">
            <div class="row-fluid" id="editcontainer"></div>
        </div>
    </div>
</div>
<script src="@Url.Content("~/Scripts/EditOrder.js")" type="text/javascript"></script>
